package com.pcbly.web.business.dict;



import java.util.List;

import com.pcbly.web.bean.dict.DictCategoryBean;
import com.pcbly.web.bean.dict.DictCategoryFilterBean;
import com.pcbly.web.bean.dict.DictCategoryValueBean;
import com.pcbly.web.business.BaseServiceImp;
import com.pcbly.web.persistence.dict.DictCategoryFilterDao;

public class DictCategoryFilterServiceImp extends
BaseServiceImp<DictCategoryFilterBean> implements
		DictCategoryFilterService {

	public DictCategoryFilterServiceImp() {
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 943440771234425565L;

	protected DictCategoryFilterDao dictCategoryFilterDao;

	public void setDictCategoryFilterDao(DictCategoryFilterDao dictCategoryFilterDao) {
		this.dictCategoryFilterDao = dictCategoryFilterDao;
	}

	@Override
	public List<DictCategoryBean> queryDictCategoryBeansByMasterId(
			String masterId) throws Exception {
		// TODO Auto-generated method stub
		return dictCategoryFilterDao.queryDictCategoryBeansByMasterId(masterId);
	}

	@Override
	public List<DictCategoryValueBean> queryDictCategoryValueBeansByBean(
			DictCategoryFilterBean bean) throws Exception {
		// TODO Auto-generated method stub
		return dictCategoryFilterDao.queryDictCategoryValueBeansByBean(bean);
	}

	@Override
	public List<DictCategoryValueBean> queryDictCategoryValueBeansByMasterValueId(String masterValueId,
			String childId) throws Exception {
		// TODO Auto-generated method stub
		return dictCategoryFilterDao.queryDictCategoryValueBeansByMasterValueId(masterValueId,childId);
	}


}
